package phoenix.web.locators.base;

import org.openqa.selenium.By;

/**
 * Class provides base locators on My Profile Page
 */
public abstract class MyProfileLocatorsBase
{
	public By blockAvatarUpload = By.xpath(".//*[@id='userNav']//*[contains(@src,'photo/show/id/')]");

	// Edit buttons:
	public By btnEditAge = By.xpath("//*[@id='edit-age']//*[@class='btn-light btn-edit-bare']");
	public By btnSaveAge = By.xpath("//*[@id='edit-age']//*[@class='btn-light btn-save btn green']");
	public By btnUndoAge = By.xpath("//*[@id='edit-age']//*[@class='btn-light btn-undo btn red']");

	public By btnEditLocation = By.xpath("//*[@id='edit-location']//*[@class='btn-light btn-edit-bare']");
	public By btnSaveLocation = By.xpath("//*[@id='edit-location']//*[@class='btn-light btn-save btn green']");
	public By btnUndoLocation = By.xpath("//*[@id='edit-location']//*[@class='btn-light btn-undo btn red']");

	public By btnEditDescription = By.xpath("//*[@id='edit-status']//*[@class='btn-light btn-edit']");
	public By btnSaveDescription = By.xpath("//*[@id='edit-status']//*[@class='btn-light btn-save btn green']");
	public By btnUndoDescription = By.xpath("//*[@id='edit-status']//*[@class='btn-light btn-undo btn red']");

	public By btnEditAbout = By.xpath("//*[@id='edit-about']//*[@class='btn-light btn-edit']");
	public By btnSaveAbout = By.xpath("//*[@id='edit-about']//*[@class='btn-light btn-save btn green']");
	public By btnUndoAbout = By.xpath("//*[@id='edit-about']//*[@class='btn-light btn-undo btn red']");

	public By btnEditAppearance = By.xpath("//*[@id='edit-info']//*[@class='btn-light btn-edit']");
	public By btnSaveAppearance = By.xpath("//*[@id='edit-info']//*[@class='btn-light btn-save btn green']");
	public By btnUndoAppearance = By.xpath("//*[@id='edit-info']//*[@class='btn-light btn-undo btn red']");

	public By btnEditLifestyle = By.xpath("//*[@id='edit-info-lifestyle']//*[@class='btn-light btn-edit']");
	public By btnSaveLifestyle = By.xpath("//*[@id='edit-info-lifestyle']//*[@class='btn-light btn-save btn green']");
	public By btnUndoLifestyle = By.xpath("//*[@id='edit-info-lifestyle']//*[@class='btn-light btn-undo btn red']");

	public By btnEditBackground = By.xpath("//*[@id='edit-info-background']//*[@class='btn-light btn-edit']");
	public By btnSaveBackground = By.xpath("//*[@id='edit-info-background']//*[@class='btn-light btn-save btn green']");
	public By btnUndoBackground = By.xpath("//*[@id='edit-info-background']//*[@class='btn-light btn-undo btn red']");

	public By btnEditLookingFor = By.xpath("//*[@id='edit-tastes']//*[@class='btn-light btn-edit']");
	public By btnSaveLookingFor = By.xpath("//*[@id='edit-tastes']//*[@class='btn-light btn-save btn green']");
	public By btnUndoLookingFor = By.xpath("//*[@id='edit-tastes']//*[@class='btn-light btn-undo btn red']");

	// Edit buttons for BN/WB/Flirt:
	public By btnEditMainInfo = null;
	public By btnSaveMainInfo = null;
	public By btnCancelMainInfo = null;

	public By btnEditPersonalInfo = null;
	public By btnSavePersonalInfo = null;
	public By btnCancelPersonalInfo = null;

	public By btnEditLookingForInfo = null;
	public By btnSaveLookingForInfo = null;
	public By btnCancelLookingForInfo = null;

	// Main info:
	public By txtScreenname = By.xpath("//*[@id='my-profile-editor']/h1/span");
	public By selectDay = By.id("birthday_day");
	public By selectMonth = By.id("birthday_month");
	public By selectYear = By.id("birthday_year");
	public By txtLocation = By.id("location-input");
	public By txtDescription = By.id("status");
	public By txtAboutMe = By.id("about");
	public By txtAge = By.id("profile_age_text");
	// Main info edited for BN/WB:
	public By txtLocationEdited = null;
	public By txtDescriptionEdited = null;
	public By txtAboutMeEdited = null;

	// Personal info:
	public By selectHeight = By.xpath("//*[@id='edit-info']//*[@name='height']");
	public By selectWeight = By.xpath("//*[@id='edit-info']//*[@name='weight']");
	public By selectBodyType = By.xpath("//*[@id='edit-info']//*[@name='build']");
	public By selectHairColor = By.xpath("//*[@id='edit-info']//*[@name='hair_color']");
	public By selectEyesColor = By.xpath("//*[@id='edit-info']//*[@name='eye_color']");
	public By selectPircing = By.xpath("//*[@id='edit-info']//*[@name='pierced']");
	public By selectTattoo = By.xpath("//*[@id='edit-info']//*[@name='tattoo']");
	public By selectOrientation = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='sexual_orientation']");
	public By selectMaritalStatus = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='marital_status']");
	public By selectChildren = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='children']");
	public By selectLiving = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='living']");
	public By selectIncome = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='income']");
	public By selectSmoke = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='smoke']");
	public By selectDrink = By.xpath("//*[@id='edit-info-lifestyle']//*[@name='drink']");
	public By selectEthnicOrigin = By.xpath("//*[@id='edit-info-background']//*[@name='race']");
	public By selectReligion = By.xpath("//*[@id='edit-info-background']//*[@name='religion']");
	public By selectEducation = By.xpath("//*[@id='edit-info-background']//*[@name='education']");
	// Personal info edited for BN/WB:
	public By selectHeightEdited = null;
	public By selectWeightEdited = null;
	public By selectBodyTypeEdited = null;
	public By selectHairColorEdited = null;
	public By selectEyesColorEdited = null;
	public By selectPircingEdited = null;
	public By selectTattooEdited = null;
	public By selectOrientationEdited = null;
	public By selectMaritalStatusEdited = null;
	public By selectChildrenEdited = null;
	public By selectLivingEdited = null;
	public By selectIncomeEdited = null;
	public By selectSmokeEdited = null;
	public By selectDrinkEdited = null;
	public By selectEthnicOriginEdited = null;
	public By selectReligionEdited = null;
	public By selectEducationEdited = null;

	// Info for FGF
	public By selectNativeLanguage = null;
	public By selectSecondLanguage = null;
	public By txtHobbies = null;

	// Looking for info:
	public By selectLookingGender = By.id("lookingForGender");
	public By selectLookingAgeFrom = By.id("lookingForAgeFrom");
	public By selectLookingAgeTo = By.id("lookingForAgeTo");
	public By txtLookingLocation = By.id("lookingFor-location-input");
	public By selectLookingDistance = By.id("lookingForDistance");
	// Looking for info edited for BN/WB:
	public By selectLookingGenderEdited = null;
	public By selectLookingAgeEdited = null;
	public By txtLookingLocationEdited = null;

	// Photo upload:
	public By blockPhotoUploader = By.id("PhotoUploadForm-form");
	public By inputFile = By.xpath("(//*[@name='file'])[2]");
	public By blockPrimaryPhoto = By.xpath("//img[@id='profilePhotoImg']");
	public By btnRemovePhoto = By.cssSelector(".btn.btn-remove");
	// Button for BN/WB:
	public By btnUploadPhotoMenu = null;

	// Active field for method selectItemInList:
	public By blockActiveField = null;
	public By blockActiveInputHolder = null;
	public By blockActiveRange = null;

	/**
	 * MatureDating MyProfile related
	 */
	public By selectGender(String p_value)
	{
		return null;
	}

	public By selectRadius(String p_value)
	{
		return null;
	}

	public By setLocatorByValue(String p_value, By p_baseLocator)
	{
		return null;
	}

	public By getListLocator(By p_parentLocator, String p_value)
	{
		return null;
	}

	public By dropDownLocator(By p_parentLocator, String p_value)
	{
		return null;
	}

}